home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 1_0-2 / EARTHPLO / EP_INIT_.C < prev    next >
C/C++ Source or Header  |  1987-06-30  |  682b  |  29 lines

  1. #include "Quickdraw.h"
  2. #include "ep.extern.h"
  3.  
  4. initGlobalRects()
  5. {
  6.     SetRect(&latSBRect,        -1,118,164,134);
  7.     SetRect(&lonSBRect,        -1,198,164,214);
  8.     SetRect(&altSBRect,        -1,279,164,295);
  9.  
  10.     SetRect(&latDataRect,    75, 62,175, 82);
  11.     SetRect(&lonDataRect,    82,142,175,162);
  12.     SetRect(&altDataRect,    73,222,175,242);
  13.  
  14.     SetRect(&northRect,         5, 94, 74,114);
  15.     SetRect(&southRect,        75, 94,145,114);
  16.     SetRect(&eastRect,         5,174, 74,194);
  17.     SetRect(&westRect,        75,174,145,194);
  18.  
  19.     SetRect(&mileRect,        5,255,65,274);
  20.     SetRect(&kmRect,        66,254,175,274);
  21.  
  22.     SetRect(&iconRect,        10,10,42,42);
  23.  
  24.     SetRect(&controlWindowRect,     12, 30+13, 175, 324+13);
  25.     SetRect(&earthWindowRect,    195, 30+13, 499, 324+13);
  26.  
  27. }
  28.  
  29.